package com.ljh.jxc.modules.suo.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ljh.jxc.common.utils.PageUtils;
import com.ljh.jxc.common.utils.Query;

import com.ljh.jxc.modules.suo.mapper.PurchaseorderdetailMapper;
import com.ljh.jxc.modules.suo.entity.Purchaseorderdetail;
import com.ljh.jxc.modules.suo.service.PurchaseorderdetailService;


@Service("purchaseorderdetailService")
public class PurchaseorderdetailServiceImpl extends ServiceImpl<PurchaseorderdetailMapper, Purchaseorderdetail> implements PurchaseorderdetailService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<Purchaseorderdetail> page = this.page(
                new Query<Purchaseorderdetail>().getPage(params),
                new QueryWrapper<Purchaseorderdetail>()
        );

        return new PageUtils(page);
    }

}